<?php
/*
 * This file is part of the Dektrium project.
 *
 * (c) Dektrium project <http://github.com/dektrium>
 *
 * For the full copyright and license information, please view the LICENSE.md
 * file that was distributed with this source code.
 */
use yii\bootstrap\Alert;

?>

<?php
?>
<div class="row">
    <div class="col-xs-12">
            <?php if (in_array($message['type'], ['success', 'danger', 'warning', 'info'])): ?>
                <?= Alert::widget([
                    'options' => ['class' => 'alert-dismissible alert-' . $message['type']],
                    'body' => $message['body']
                ]) ?>
            <?php endif ?>
    </div>
</div>
